﻿@model IList<music.web.Models.Shared.SongModel>

@foreach (var song in Model)
{
	<div class="page-block">
		<div class="page-header">
			<h3>
				<a href="@song.GetInfoUrl(Url)">
					@song.Title</a> <small>@song.Artist</small>
			</h3>
		</div>
		@if (song.HasDescription)
  {
			<p>
				@Html.Raw(song.DisplayDescription)
			</p>
  }
		@Html.Partial("Player", song)
		<ul class="song-info">
			<li class="user-login">@song.DisplayUserLogin</li>
			<li class="created">@song.DisplayCreated</li>
			<li class="download-count">@song.DisplayDownloadCount</li>
			@Html.Partial("RateButtons", song)
			<li><a href="@song.GetInfoUrl(Url)">@song.CommentsTitle</a></li>
		</ul>
	</div>
}